local QI = DailyIntake.QuestItems;

-- =============================================================
-- Added by LaoTseu
-- =============================================================

-- Add item: Angler's Fishing Spear; http://mop.wowhead.com/item=80403
QI.RegisterQuestItem(80403, QI.Priority.Low, function()
	return
		GetZoneText() == "Krasarang Wilds" and

		-- Armored Carp: http://mop.wowhead.com/quest=30613
		-- Huff & Puff: http://mop.wowhead.com/quest=30658
		not QI.QuestsAreDoneAndNotTaken(30613, 30658)

end)

-- Add item: Angler's Fishing Spear; http://mop.wowhead.com/item=80403
QI.RegisterQuestItem(80403, QI.Priority.Highest, function()
	return
		GetZoneText() == "Krasarang Wilds" and

		-- Targetting an Armored Carp: http://mop.wowhead.com/npc=59936
		-- Targetting a Prickly Puffer: http://mop.wowhead.com/npc=60037
		(	QI.UnitIsEntity("target", 59936, QI.Entity.Mob) or
		 	QI.UnitIsEntity("target", 60037, QI.Entity.Mob) ) and

		-- Press SHIFT to see the next one
		not IsShiftKeyDown() and

		-- Armored Carp: http://mop.wowhead.com/quest=30613
		-- Huff & Puff: http://mop.wowhead.com/quest=30658
		not QI.QuestsAreDoneAndNotTaken(30613, 30658)

end)

-- Add item: Goblin Fishing Bomb; http://mop.wowhead.com/item=80599
QI.RegisterQuestItem(80599, QI.Priority.Normal, function()
	return
		GetZoneText() == "Krasarang Wilds" and

		-- Like Bombing Fish In A Barrel: http://mop.wowhead.com/quest=30678
		not QI.QuestsAreDoneAndNotTaken(30678)

end)

-- Add item: Pristine Crane Egg; http://www.wowhead.com/item=80303
QI.RegisterQuestItem(80303, QI.Priority.Normal, function()
	return
		GetZoneText() == "Krasarang Wilds" and

		-- Who Knew Fish Liked Eggs?: http://mop.wowhead.com/quest=30598
		not QI.QuestsAreDoneAndNotTaken(30598)

end)

--[=[
-- Add item: Ricket's Tickers; http://www.wowhead.com/?item=65514
QI.RegisterQuestItem(65514, QI.Priority.High, function()
	-- Underground Economy: http://www.wowhead.com/?quest=27048
	return 	GetZoneText() == "Deepholm" and
				GetSubZoneText() == "Crumbling Depths" and
				not QI.QuestIsDone(27048)

end)

-- Add item: Stonework Mallet; http://www.wowhead.com/?item=60266
QI.RegisterQuestItem(60266, QI.Priority.High, function()
	-- The Restless Brood: http://www.wowhead.com/?quest=28391
	return 	GetZoneText() == "Deepholm" and
				GetSubZoneText() == "The Pale Roost" and
				not QI.QuestIsDone(28391)

end)

-- Add item: Sprinkle of Verlok Miracle-Grow; http://www.wowhead.com/?item=60768
QI.RegisterQuestItem(60768, QI.Priority.Normal, function()
	-- The Restless Brood: http://www.wowhead.com/?quest=28391
	return 	GetZoneText() == "Deepholm" and
				not QI.QuestIsDone(27051)

end)
]=]
